package cn.kgc.microservicecloudprovidercategory8001.service;

import cn.kgc.microservicecloudapi.pojo.Category;

import java.util.List;

/**
 * @author 邓云辉
 * @create 2020-03-09 11:13
 */
public interface CategoryService {
    public List<Category> getAll();

    public Category getById(Integer id);

    int deleteByPrimaryKey(Integer id);

    int insert(Category record);

    int updateByPrimaryKey(Category record);
}